package edu.whu.notepal.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @author 陈磊
 * @TableName t_contacts
 */
@TableName(value ="t_contacts")
@Data
public class Contacts implements Serializable {

    @TableId
    private Long id;

    private Long ownerId;

    private Long friendId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}